regression: NI/Turks crash on WebGL Water (most WebGL stuff)
[email protected]
Reviewed-by Martin Pereshttps://bugs.freedesktop.org/show_bug.cgi?id=90207
Bug ID: 90207
Summary: [r600g, bisected] regression: NI/Turks crash on WebGL
Water (most WebGL stuff)
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
Current Mesa git (9143940) crash on WebGL Water demo and most WebGL stuff.
http://madebyevan.com/webgl-water/
http://www.ibiblio.org/e-notes/webgl/webgl.htm
I've bisected it to:
/opt/mesa> git bisect good a563689a408b7a28c710fb0e382272a0d823f38a is the first bad commit commit a563689a408b7a28c710fb0e382272a0d823f38a
Author: Tapani Pälli <[email protected]> Date: Thu Apr 23 11:13:17 2015 +0300
mesa: refactor active attrib queries for glGetProgramiv
Main motivation here is to get rid of iterating IR and encapsulate queries within program resources. No functional changes.
Piglit tests calling the modified functionality:
- gl-get-active-attrib-returns-all-inputs
- glsl-1.50-get-active-attrib-array
- getactiveattrib
:040000 040000 8983df05bac6cc3a455b2e5100a2038939e24eaa cd5fa256be39b9b02e9201a9ce6d313c670f2942 M src
When I revert 'a563689' all is smooth, again.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90207
--- Comment #1 from Dieter Nützel <[email protected]> --- Created attachment 115389
--> https://bugs.freedesktop.org/attachment.cgi?id=115389&action=edit
konqueror-20150428-051127.kcrash.txt
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90207
Dieter Nützel <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|Other |x86-64 (AMD64)
OS|All |Linux (All)
Severity|normal |criticalSignature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90207
--- Comment #2 from Tapani Pälli <[email protected]> ---
seems to work with chrome and firefox, will attempt to reproduce with konqueror
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90207
--- Comment #3 from Tapani Pälli <[email protected]> ---
My konqueror does not seems to support webgl (?) is there something special I need to do to enable it?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90207
--- Comment #4 from Dieter Nützel <[email protected]> --- (In reply to Tapani Pälli from comment #3)
Quoted 2 lines
My konqueror does not seems to support webgl (?) is there something special I need to do to enable it?
Hello Tapani!
My Konqueror 4.14.6 and former versions (on openSUSE x86 and x86-64) support it for some months (years?) out of the box.
What's weird that it do NOT run webgl if I go back to repro package Mesa-10.5.4 (from 27 Apr 2015). I can swear it worked with former versions... Have to retest on my poor RV730/x86 system tomorrow.
Maybe you have to use WebKit not KHTML.
http://html5test.com/index.html
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90207
--- Comment #5 from Dieter Nützel <[email protected]> --- (In reply to Dieter Nützel from comment #4)
Quoted 5 lines
(In reply to Tapani Pälli from comment #3)
Quoted 2 lines
My konqueror does not seems to support webgl (?) is there something special I need to do to enable it?
Hello Tapani!
[snip]
Quoted 2 lines
Maybe you have to use WebKit not KHTML.
http://html5test.com/index.html
It is in since
11./13.10.2011
through WebKit.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90207
--- Comment #6 from Dieter Nützel <[email protected]> --- (In reply to Dieter Nützel from comment #5)
Quoted 9 lines
(In reply to Dieter Nützel from comment #4)
Quoted 5 lines
(In reply to Tapani Pälli from comment #3)
Quoted 2 lines
My konqueror does not seems to support webgl (?) is there something special I need to do to enable it?
Hello Tapani!
[snip]
Quoted 8 lines
Quoted 2 lines
Maybe you have to use WebKit not KHTML.
http://html5test.com/index.htmlIt is in since
11./13.10.2011
through WebKit.
kwebkitpart
kwebkitpart-1.3.3-3.1.5.x86_64
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90207
--- Comment #7 from Tapani Pälli <[email protected]> --- (In reply to Dieter Nützel from comment #6)
Quoted 13 lines
(In reply to Dieter Nützel from comment #5)
Quoted 12 lines
(In reply to Dieter Nützel from comment #4)
Quoted 5 lines
(In reply to Tapani Pälli from comment #3)
Quoted 2 lines
My konqueror does not seems to support webgl (?) is there something special I need to do to enable it?
Hello Tapani!
[snip]
Quoted 2 lines
Maybe you have to use WebKit not KHTML.
http://html5test.com/index.html
Quoted 8 lines
Quoted 5 lines
It is in since
11./13.10.2011
through WebKit.
kwebkitpart
kwebkitpart-1.3.3-3.1.5.x86_64
Yes, installing this package made it work, demos seem to work for me though .. I will try some more and also investigate possible side-effects caused by my patch.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90207
--- Comment #8 from Tapani Pälli <[email protected]> ---
I cannot reproduce this bug. I used following page to verify that Konqueror runs against my Mesa:
http://renderingpipeline.com/webgl-extension-viewer/
"WebGL version: WebGL 1.0 (3.0 Mesa 10.6.0-devel (git-9143940))"
webgl-water and other webgl tests run fine, Konqueror version information:
konqueror-14.12.3-1.fc21.x86_64
kwebkitpart-1.3.4-5.fc21.x86_64
this is on Ivybridge laptop, i965 driver.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90207
--- Comment #9 from Aaron Watry <[email protected]> ---
Note that firefox 37 works fine for me on my CEDAR (Radeon 5400) on r600g on current mesa master.
Konqueror 4.14.6 crashes while loading the OpenGL demo.
When running konqueror with LIBGL_DEBUG=verbose, I get the following:
awatry@ws-awatry:~$ LIBGL_DEBUG=verbose konqueror libGL: OpenDriver: trying /usr/local/lib/dri/tls/r600_dri.so libGL: OpenDriver: trying /usr/local/lib/dri/r600_dri.so libGL: OpenDriver: trying /usr/local/lib/dri/tls/r600_dri.so libGL: OpenDriver: trying /usr/local/lib/dri/r600_dri.so NOT SANDBOXED Mesa: User error: GL_INVALID_VALUE in glGetActiveAttrib(index) KCrash: Application 'konqueror' crashing...
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90207
--- Comment #10 from Aaron Watry <[email protected]> --- Created attachment 115405
--> https://bugs.freedesktop.org/attachment.cgi?id=115405&action=edit
API Trace of konqueror crash
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90207
José Fonseca <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected] Component|Drivers/Gallium/r600 |Mesa core Assignee|[email protected] |[email protected]. |.org |org QA Contact|[email protected] |[email protected]. |.org |org
--- Comment #11 from José Fonseca <[email protected]> ---
(In reply to Dieter Nützel from comment #0)
[...]
Quoted 11 lines
a563689a408b7a28c710fb0e382272a0d823f38ais the first bad commit commita563689a408b7a28c710fb0e382272a0d823f38aAuthor: Tapani Pälli <[email protected]> Date: Thu Apr 23 11:13:17 2015 +0300mesa: refactor active attrib queries for glGetProgramiv
Main motivation here is to get rid of iterating IR and encapsulate queries within program resources. No functional changes.
Quoted 7 lines
Piglit tests calling the modified functionality:
- gl-get-active-attrib-returns-all-inputs
- glsl-1.50-get-active-attrib-array
- getactiveattrib[...]
Piglit getactiveattrib 110 test started to randomly fail on llvmpipe:
$ for i in `seq 1 100`; do .../piglit/bin/getactiveattrib 110 -auto -fbo; done
PIGLIT: {"result": "pass" }
PIGLIT: {"result": "pass" }
PIGLIT: {"result": "pass" }
PIGLIT: {"result": "pass" }
PIGLIT: {"result": "pass" }
PIGLIT: {"result": "pass" }
PIGLIT: {"result": "pass" }
PIGLIT: {"result": "pass" }
Mesa: User error: GL_INVALID_VALUE in glGetActiveAttrib(index)Failing shader:
attribute vec4 vertex;
attribute vec2 alternate;
uniform bool use_alternate;
void main() {
gl_Position = vertex;
if (use_alternate) gl_Position = alternate.xyxy;
}Attribute `alternate' listed multiple times in active list.
PIGLIT: {"result": "fail" }
PIGLIT: {"result": "pass" }
PIGLIT: {"result": "pass" }
Quoted 1 line
When I revert 'a563689' all is smooth, again.
And likewise, if I revert a563689 it passes consistently.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel